﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BZOrderPrint.DAL.Entity
{
    [Table("team_order_item")]
    public class TeamOrderItemEntity
    {

        [Column("id")]
        public int Id { get; set; }

        /// <summary>
        /// 团长订单明细里面的订单号
        /// </summary>
        [Column("team_item_code")]
        public string TeamItemCode { get; set; }

        /// <summary>
        /// 团长订单导入的时候生成的BzOrderEntity的Id
        /// </summary>
        [Column("bz_order_id")]
        public string BzOrderId { get; set; }


        /// <summary>
        /// 商品名称
        /// </summary>
        [Column("item_name")]
        public string ItemName { get; set; }

        /// <summary>
        /// 商品条码
        /// </summary>
        [Column("bz_item_codo")]
        public string BzItemCodo { get; set; }

         /// <summary>
         /// 数量
         /// </summary>
        [Column("quantity")]
        public int Quantity { get; set; }

        /// <summary>
        /// 团员的名称
        /// </summary>
        [Column("member_name")]
        public string MemberName { get; set; }


        /// <summary>
        /// 团员电话
        /// </summary>
        [Column("phone")]
        public string Phone { get; set; }

    }
}
